import styled from "styled-components";

export const CenterWrapper = styled.div`
  width: 310px;
  height: 48px;
  padding: 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 40px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  ${(props) => props.theme.mixin.boxShadow};
  transition: width 0.4s ease;
  &:hover {
    width: 500px;
  }
  .text {
    margin-left: 16px;
    font-weight: 600;
    color: ${(props) => props.theme.font.secondary};
  }
  .icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    background: ${(props) => props.theme.color.primary};
    display: flex;
    justify-content: center;
    align-items: center;
  }
`;
